package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 日志实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_log")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 日志ID*/
    @TableId(value = "pk_logId", type = IdType.AUTO)
    private Integer logId;

    /** 日志时间*/
    @TableField("l_time")
    private LocalDate time;

    /** 日志内容*/
    @TableField("l_content")
    private String content;


}
